package com.bawei.mall.search.service.impl;

import com.bawei.mall.search.domain.Po.ShoppingCart;
import com.bawei.mall.search.mapper.ShoppingCartMapper;
import com.bawei.mall.search.service.ShoppingCartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：liurui
 * @Package：com.bawei.mall.search.service.impl
 * @Project：mall_cloud
 * @name：ShoppingCartServiceImpl
 */
@Service
public class ShoppingCartServiceImpl implements ShoppingCartService {
    @Autowired
    private ShoppingCartMapper mapper;

    @Override
    public List<ShoppingCart> list() {
        return mapper.list();
    }
}
